#!/bin/bash

# strip the suffix from file name.
basename example.html .html

# get rid of the directories in a full pathname 
basename /var/lib/samba/registry.tdb

